export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}
export interface HospitalData {
  address: string;
  bookingRule: {
    cycle: number;
    releaseTime: string;
    stopTime: string;
    quitDay: number;
    quitTime: string;
    rule: string[];
  };
  cityCode: string;
  createTime: string;
  districtCode: string;
  hoscode: string;
  hosname: string;
  hostype: string;
  id: string;
  intro: null;
  isDeleted: 0;
  logoData: string;
  param: { hostypeString: string; fullAddress: string };
  provinceCode: string;
  route: string;
  status: number;
  updateTime: string;
}
export interface HospitalResponseData extends ResponseData {
  data: {
    content: HospitalData[];
    empty: boolean;
    first: boolean;
    last: boolean;
    number: number;
    numberOfElements: number;
    size: number;
    pageable: {
      offset: number;
      pageNumber: number;
      pageSize: number;
      paged: boolean;
      unpaged: boolean;
      sort: {
        empty: boolean;
        sorted: boolean;
        unsorted: boolean;
      };
    };
    sort: {
      empty: boolean;
      sorted: boolean;
      unsorted: boolean;
    };
    totalElements: number;
    totalPages: number;
  };
}
//代表医院等级或者地区数据ts类型
export interface HospitalLevelAndRegion{
    createTime:string,
    dictCode:null,
    hasChildren:true,
    id:number,
    isDeleted:number,
    name:string,
    param:{},
    parentId:number,
    updateTime:string,
    value:string
}
export interface HospitalLevelAndRegionResponseData extends ResponseData{
    data:HospitalLevelAndRegion[]
}
